package com.ftg.learn.cloud.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

//controller
@RestController
public class DemoController {

    //getmapping
    @GetMapping("/hello")
    public String hello(){
        return "hello world!!!";
    }

}
